/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ipmirror.beans;

import com.ipmirror.common.base.AbstractBaseBean;
import com.ipmirror.models.DomainsSearchModel;
import org.apache.log4j.Logger;

import javax.annotation.PostConstruct;

/**
 *
 * @author denny
 */
public class DomainsSearchBean extends AbstractBaseBean{
    private static final Logger log = Logger.getLogger(DomainsSearchBean.class);

    private DomainsSearchModel domainsSearchModel;
    @PostConstruct
    public void init(){
        log.info("Init DomainsSearchBean.");
        super.init();
        domainsSearchModel=new DomainsSearchModel();
        domainsSearchModel.setCountry("China");
    }

    public DomainsSearchModel getDomainsSearchModel() {
        return domainsSearchModel;
    }

    public void setDomainsSearchModel(DomainsSearchModel domainsSearchModel) {
        this.domainsSearchModel = domainsSearchModel;
    }

    public void searchAction(){
        log.info("go into domain search action");
    }

}
